package com.hyh.prize;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.stereotype.Component;

@SpringBootApplication
@EnableEurekaClient //开启Eureka
@EnableDiscoveryClient //服务注册与发现
public class PrizeMain8007 {
    public static void main(String[] args) {
        SpringApplication.run(PrizeMain8007.class, args);
    }
}
